package com.movw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class JspView {
    /**
     * 跳到home
     * @return
     */
    @RequestMapping("/home")
    public String toHome() {
        return "home";
    }
    /**
     * 跳转用户登录页面
     * @return
     */
    @RequestMapping("/login")
    public String toUserLogin() {
        return "login";
    }
    /**
     * 跳转管理员登录页面
     * @return
     */
    @RequestMapping("/adminlogin")
    public String toAdminLogin() {
        return "Adminlogin";
    }
}
